home *** CD-ROM | disk | FTP | other *** search
/ PCGUIA 114 / PC Guia 114.iso / Software / Utils / The Gimp 2.2.1 / gimp-help-2-0.6-setup.exe / {app} / share / gimp / 2.0 / help / en / ch06s05.html < prev    next >
Encoding:
Extensible Markup Language  |  2004-12-19  |  4.2 KB  |  102 lines

  1. <?xml version="1.0" encoding="UTF-8" standalone="no"?>
  2. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  3. <html xmlns="http://www.w3.org/1999/xhtml">
  4.   <head>
  5.     <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  6.     <title>5.┬áEdge-detect filters</title>
  7.     <link rel="stylesheet" href="gimp-help-plain.css" type="text/css" />
  8.     <link rel="stylesheet" href="gimp-help-screen.css" type="text/css" />
  9.     <meta name="generator" content="DocBook XSL Stylesheets V1.66.1" />
  10.     <link rel="start" href="index.html" title="GIMP User Manual" />
  11.     <link rel="up" href="ch06.html" title="Chapter┬á6.┬áFilters" />
  12.     <link rel="prev" href="ch06s04s07.html" title="4.7.┬áSpread" />
  13.     <link rel="next" href="ch06s05s02.html" title="5.2.┬áEdge" />
  14.   </head>
  15.   <body>
  16.     <div xmlns="" class="navheader">
  17.       <table width="100%" summary="Navigation header">
  18.         <tr>
  19.           <th colspan="3" align="center" id="chaptername">Chapter┬á6.┬áFilters</th>
  20.         </tr>
  21.         <tr>
  22.           <td width="20%" align="left"><a accesskey="p" href="ch06s04s07.html">Prev</a>┬á</td>
  23.           <th width="60%" align="center" id="sectionname">5.┬áEdge-detect filters</th>
  24.           <td width="20%" align="right">┬á<a accesskey="n" href="ch06s05s02.html">Next</a></td>
  25.         </tr>
  26.       </table>
  27.       <hr />
  28.     </div>
  29.     <div class="sect1" lang="en" xml:lang="en">
  30.       <div class="titlepage">
  31.         <div>
  32.           <div>
  33.             <h2 class="title" style="clear: both"><a id="filters-edge"></a>5.┬áEdge-detect filters</h2>
  34.           </div>
  35.         </div>
  36.       </div>
  37.       <a id="id3477787" class="indexterm"></a>
  38.       <div class="sect2" lang="en" xml:lang="en">
  39.         <div class="titlepage">
  40.           <div>
  41.             <div>
  42.               <h3 class="title"><a id="filters-edges-introduction"></a>5.1.┬áEdge-detect introduction</h3>
  43.             </div>
  44.           </div>
  45.         </div>
  46.         <p>
  47.       Edge detect filters search for borders between different colors
  48.       and so can detect contours of objects.
  49.     </p>
  50.         <p>
  51.       They are used to make selections and for many artistic purposes.
  52.     </p>
  53.         <div class="mediaobject">
  54.           <img src="../images/filters/filters-edgedetect-fig.png" />
  55.         </div>
  56.         <p>
  57.       Most of them are based on gradient calculation methods and give
  58.       thick border lines.  Look at fig.1 which represents color
  59.       intensity variations. On the left is a slow color gradient which
  60.       is not a border. On the right is a quick variation which is an
  61.       edge. Now, let us calculate the gradient, the variation speed, of
  62.       this edge, i.e the first derivative (fig.2). We have to decide
  63.       that a border is detected when gradient is more than a threshold
  64.       value (the exact border is at top of the curve, but this top
  65.       varies according to borders). In most cases, threshold is under
  66.       top and border is thick.
  67.     </p>
  68.         <p>
  69.       The Laplacian edge detection uses the second derivative (fig.3).
  70.       The top of the curve is now at zero and clearly identified. That's
  71.       why Laplace filter renders a thin border, only a pixel wide. But
  72.       this derivative gives several zeros corresponding to small
  73.       ripples, resulting in false edges. 
  74.     </p>
  75.         <p>
  76.       Some blurring before applying edge filters is often necessary: it
  77.       flattens small ripples in signal and so prevents false edges.
  78.     </p>
  79.       </div>
  80.     </div>
  81.     <div class="navfooter">
  82.       <hr />
  83.       <table width="100%" summary="Navigation footer">
  84.         <tr>
  85.           <td width="40%" align="left"><a accesskey="p" href="ch06s04s07.html">Prev</a>┬á</td>
  86.           <td width="20%" align="center">
  87.             <a accesskey="u" href="ch06.html">Up</a>
  88.           </td>
  89.           <td width="40%" align="right">┬á<a accesskey="n" href="ch06s05s02.html">Next</a></td>
  90.         </tr>
  91.         <tr>
  92.           <td width="40%" align="left" valign="top">4.7.┬áSpread┬á</td>
  93.           <td width="20%" align="center">
  94.             <a accesskey="h" href="index.html">Home</a>
  95.           </td>
  96.           <td width="40%" align="right" valign="top">┬á5.2.┬áEdge</td>
  97.         </tr>
  98.       </table>
  99.     </div>
  100.   </body>
  101. </html>
  102.